package com.dongdongsongcan.app.control.bean;

import com.su.dolphin.control.bean.BaseBean;

import java.util.List;

/**
 * Created by Alex on 2015/12/8 0008.
 */
public class OrderDetailData extends BaseBean {
    private OrderDetail result;

    private int error;

    private String msg;

    public OrderDetail getResult() {
        return result;
    }

    public void setResult(OrderDetail result) {
        this.result = result;
    }

    public int getError() {
        return error;
    }

    public boolean isOk() {
        return error == 0;
    }

    public void setError(int error) {
        this.error = error;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public class OrderDetail {
        private int order_id;

        private String order_louhao1;

        private String order_name;

        private String order_sex;

        private String order_mobile;

        private String order_arrive;

        private String shop_name;

        private String order_time;

        private String order_ids;

        private String order_total;

        private String order_bag;

        private String order_canbao;

        private String order_total_pay;

        private String order_number;

        private String order_beta;

        private String order_pay_cash;

        private String order_area;

        private String order_addprice;

        private String order_pay_method;


        private String order_detail;
        private double youhui;

        public double getYouhui() {
            return youhui;
        }

        public void setYouhui(double youhui) {
            this.youhui = youhui;
        }

        private List<Food> ids;

        public List<Food> getIds() {
            return ids;
        }

        public void setIds(List<Food> ids) {
            this.ids = ids;
        }

        public String getOrder_addprice() {
            return order_addprice;
        }

        public void setOrder_addprice(String order_addprice) {
            this.order_addprice = order_addprice;
        }

        public String getOrder_canbao() {
            return order_canbao;
        }

        public void setOrder_canbao(String order_canbao) {
            this.order_canbao = order_canbao;
        }

        public int getOrder_id() {
            return order_id;
        }

        public void setOrder_id(int order_id) {
            this.order_id = order_id;
        }

        public String getOrder_louhao1() {
            return order_louhao1;
        }

        public void setOrder_louhao1(String order_louhao1) {
            this.order_louhao1 = order_louhao1;
        }

        public String getOrder_name() {
            return order_name;
        }

        public void setOrder_name(String order_name) {
            this.order_name = order_name;
        }

        public String getOrder_sex() {
            return order_sex;
        }

        public void setOrder_sex(String order_sex) {
            this.order_sex = order_sex;
        }

        public String getOrder_mobile() {
            return order_mobile;
        }

        public void setOrder_mobile(String order_mobile) {
            this.order_mobile = order_mobile;
        }

        public String getOrder_arrive() {
            return order_arrive;
        }

        public void setOrder_arrive(String order_arrive) {
            this.order_arrive = order_arrive;
        }

        public String getShop_name() {
            return shop_name;
        }

        public void setShop_name(String shop_name) {
            this.shop_name = shop_name;
        }

        public String getOrder_time() {
            return order_time;
        }

        public void setOrder_time(String order_time) {
            this.order_time = order_time;
        }

        public String getOrder_ids() {
            return order_ids;
        }

        public void setOrder_ids(String order_ids) {
            this.order_ids = order_ids;
        }

        public String getOrder_total() {
            return order_total;
        }

        public void setOrder_total(String order_total) {
            this.order_total = order_total;
        }

        public String getOrder_bag() {
            return order_bag;
        }

        public void setOrder_bag(String order_bag) {
            this.order_bag = order_bag;
        }

        public String getOrder_total_pay() {
            return order_total_pay;
        }

        public void setOrder_total_pay(String order_total_pay) {
            this.order_total_pay = order_total_pay;
        }

        public String getOrder_number() {
            return order_number;
        }

        public void setOrder_number(String order_number) {
            this.order_number = order_number;
        }

        public String getOrder_beta() {
            return order_beta;
        }

        public void setOrder_beta(String order_beta) {
            this.order_beta = order_beta;
        }

        public String getOrder_pay_cash() {
            return order_pay_cash;
        }

        public void setOrder_pay_cash(String order_pay_cash) {
            this.order_pay_cash = order_pay_cash;
        }

        public String getOrder_area() {
            return order_area;
        }

        public void setOrder_area(String order_area) {
            this.order_area = order_area;
        }

        public String getOrder_pay_method() {
            return order_pay_method;
        }

        public void setOrder_pay_method(String order_pay_method) {
            this.order_pay_method = order_pay_method;
        }

        public String getOrder_detail() {
            return order_detail;
        }

        public void setOrder_detail(String order_detail) {
            this.order_detail = order_detail;
        }


    }

    public static class Food {
        //            "menu_id": "170",
//                    "menu_title": "酱猪手",
//                    "menu_price": "28.00",
//                    "menu_num": "0",
//                    "menu_unit": "份",
//                    "menu_pic_small": "/upload/attatch/1/酱猪手_1436856552_samll.jpg"
        private int menu_id;
        private String menu_title;
        private float menu_price;
        private int menu_num;
        private String menu_unit;
        private String menu_pic_small;

        public int getMenu_id() {
            return menu_id;
        }

        public void setMenu_id(int menu_id) {
            this.menu_id = menu_id;
        }

        public String getMenu_title() {
            return menu_title;
        }

        public void setMenu_title(String menu_title) {
            this.menu_title = menu_title;
        }

        public float getMenu_price() {
            return menu_price;
        }

        public void setMenu_price(float menu_price) {
            this.menu_price = menu_price;
        }

        public int getMenu_num() {
            return menu_num;
        }

        public void setMenu_num(int menu_num) {
            this.menu_num = menu_num;
        }

        public String getMenu_unit() {
            return menu_unit;
        }

        public void setMenu_unit(String menu_unit) {
            this.menu_unit = menu_unit;
        }

        public String getMenu_pic_small() {
            return menu_pic_small;
        }

        public void setMenu_pic_small(String menu_pic_small) {
            this.menu_pic_small = menu_pic_small;
        }
    }
}
